﻿using Bot.Domain.Entities;
using Bot.Domain.Enum;
using Comm100.Framework.Domain.Specifications;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain.Specifications
{
    public class EntityFilterSpecification : BaseSpecification<Entity>
    {
        public EntityFilterSpecification(Guid botId)
            : base(i => i.BotId == botId)
        {

        }
        public EntityFilterSpecification(Guid botId, EnumEntityType type)
            : base(i => i.BotId == botId && i.Type == type)
        {

        }
    }
}
